tools/libxc: Fix missing va_end() in do_dm_op() error path
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 30 Jan 2017 10:08:50 +0000 (10:08 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 30 Jan 2017 11:07:48 +0000 (11:07 +0000)
commit7581a378b0b8727b6eaaa83da154e40bcfea0f69
tree5df98f1913d134bce325760a8a0b3377ab03965e
parent40705830907aae52dc679362b7ec214b9ff25681
tools/libxc: Fix missing va_end() in do_dm_op() error path

The fail3 error path skips the va_end() call, which typically leaks memory for
64bit x86 code.

Introduced by c/s 524a98c2ac5, spotted by Coverity.

Coverity-ID: 1399608
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_private.c